package com.yunfei.yunhetong.dictionary.service;
import java.util.List;
import java.util.Map;
import com.yunfei.yunhetong.dictionary.bo.DictionaryBo;
   /**
    *@tablename Tdictionary
    *@author zhengyunfei
    *@createDate Mon Jul 29 09:50:52 CST 2019
    */ 
public interface DictionaryService {
	/**
	*新增
	*@author zhengYunFei
	*@date Mon Jul 29 09:50:52 CST 2019
	*/
	 String add(DictionaryBo bo);
	/**
	*批量新增
	*@author zhengYunFei
	*@date Mon Jul 29 09:50:52 CST 2019
	*/
	 String batchInsert(List bo);
	/**
	*修改
	*@author zhengYunFei
	*@date Mon Jul 29 09:50:52 CST 2019
	*/
	 String update(DictionaryBo bo);
	/**
	*删除
	*@author zhengYunFei
	*@date Mon Jul 29 09:50:52 CST 2019
	*/
	 String delete(String id);
	/**
	*根据Id查询
	*@author zhengYunFei
	*@date Mon Jul 29 09:50:52 CST 2019
	*/
	 DictionaryBo findById(String id);
	/**
	*根据Id查询
	*@author zhengYunFei
	*@date Mon Jul 29 09:50:52 CST 2019
	*/
	 DictionaryBo findByMap(Map queryMap);
	/**
	*根据Id查询
	*@author zhengYunFei
	*@date Mon Jul 29 09:50:52 CST 2019
	*/
	 DictionaryBo findByBo(DictionaryBo bo);
	/**
	*查询所有信息
	*@author zhengYunFei
	*@date Mon Jul 29 09:50:52 CST 2019
	*/
	 List<DictionaryBo> findAllList(DictionaryBo bo);
	/**
	*查询所有信息
	*@author zhengYunFei
	*@date Mon Jul 29 09:50:52 CST 2019
	*/
	 List<DictionaryBo> findAllList(Map<String,Object> queryMap);
	/**
	*查询所有信息
	*@author zhengYunFei
	*@date Mon Jul 29 09:50:52 CST 2019
	*/
	 List<DictionaryBo> findAllListPage(DictionaryBo bo);
	/**
	*根据Id查询
	*@author zhengYunFei
	*@date Mon Jul 29 09:50:52 CST 2019
	*/
	 int count(DictionaryBo bo);
}

